Dreitier\Nadi\Vendor\Twig\Parser A

Total Complexity 67
Dependencies 18
Dependents 4
Total lines 317
Lines of code 202
Logical lines of code 117
Comment lines 17
Methods 27
Properties 13

Methods 27

Method Rating Maintainability Complexity Lines of code
subparse()
B
40 17 58
filterBodyNodes()
B
47 17 31
parse()
A
45 9 40
embedTemplate()
S
76 1 4
getCurrentToken()
S
81 1 3
getStream()
S
82 1 3
setParent()
S
81 1 3
getParent()
S
82 1 3
getExpressionParser()
S
82 1 3
popLocalScope()
S
81 1 3
pushLocalScope()
S
80 1 3
isMainScope()
S
79 1 3
getImportedSymbol()
S
76 1 3
addImportedSymbol()
S
77 1 3
__construct()
S
81 1 3
hasTraits()
S
79 1 3
getVarName()
S
79 1 3
setMacro()
S
80 1 3
hasMacro()
S
79 1 3
setBlock()
S
78 1 3
getBlock()
S
80 1 3
hasBlock()
S
79 1 3
pushBlockStack()
S
80 1 3
popBlockStack()
S
81 1 3
peekBlockStack()
S
78 1 3
getBlockStack()
S
82 1 3
addTrait()
S
80 1 3